package com.tdkj.model.information;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.tdkj.model.base.BaseEntity;

/**
 * XnkyMineResource entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "xnky_mine_picture")
public class BeanMineImage  extends BaseEntity implements java.io.Serializable {

	private String pictureUrl;
	private String videoUrl;
	//private BeanMiningright miningright;

	@Column(name = "videoUrl", length = 100)
	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}

	@Column(name = "pictureUrl", length = 100)
	public String getPictureUrl() {
		return pictureUrl;
	}

	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl;
	}

	//@ManyToOne(fetch = FetchType.LAZY)
	//@JoinColumn(name = "miningrightid", nullable = false)
//	public BeanMiningright getMiningright() {
//		return miningright;
//	}
//
//	public void setMiningright(BeanMiningright miningright) {
//		this.miningright = miningright;
//	}

	
}